package com.msb.mall.product.feign;

import com.msb.mall.common.dto.SkuReductionDTO;
import com.msb.mall.common.dto.SupBoundsDTO;
import com.msb.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @Author liujianlin <157429758@qq.com>
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2024/6/27
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveFullReductionInfo(@RequestBody SkuReductionDTO skuReductionDTO);

    @RequestMapping("/coupon/spubounds/saveSpuBounds")
    R saveSpuBounds(@RequestBody SupBoundsDTO spuBoundsDTO);
}
